//传递


    function check_all_checkbox(name) {
        var target_name=name;
        var loves = document.getElementsByName(target_name);
        for (var i = 0; i < loves.length; i++) {
            loves[i].checked = true;
        }
    }
